package com.cheer.enums;

/**
 * @author cheer
 */
public enum OaIntegralRuleEnum {

    LOGIN(1, 5,1,"登陆"),
    CURRENT(2, 20,1,"本期学习"),
    PAST(3, 5,2,"往期学习"),
    ARTICLE(4, 2,5,"阅读文章"),
    VIDEO(5, 2,4,"观看视听学习"),
    CURR_HUN(6, 10,1,"本期建党"),
    PAST_HUN(7, 1,4,"往期建党"),
    MATCH(8, 10,2,"线上答题"),
    ARTICLE_PIC(9, 5,5,"精彩图文"),
    ARTICLE_WIN(10, 5,2,"龙江之窗"),
    EXCHANGE(11, 10,1,"积分换购"),
    ACTIVITY(12, 5,1,"主题活动");

    /**
     * 编号
     */
    private Integer code;
    /**
     * 积分
     */
    private Integer integral;
    /**
     * 文章阅读的上限
     */
    private Integer max;
    /**
     * 描述
     */
    private String message;
    /**
     * 精彩图文
     */
    public static final Integer ARTICLE_PIC_ID = 2;
    /**
     * 龙江之窗
     */
    public static final Integer ARTICLE_WIN_ID = 7;


    OaIntegralRuleEnum(Integer code, Integer integral, Integer max, String message) {
        this.code = code;
        this.integral = integral;
        this.max = max;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public Integer getIntegral() {
        return integral;
    }
    public Integer getMax() {
        return max;
    }
}
